How to // Comment
Create static library // Créer une bibliothèque statique

VisualStudio

[VisualStudio] Create static library



1. From the File menu, select New and then Project
2. On the Project types pane, under Visual C++, select Win32
3. On the Templates pane, select Win32 Console Application
4. Choose a name for the project, such as MathFuncsLib, and enter it in the Name field
5. Choose a name for the solution, such as StaticLibrary, and enter it in the Solution Name field
6. Press OK to start the Win32 application wizard. On the Overview page of the Win32 Application Wizard dialog box, press Next
7. On the Application Settings page of the Win32 Application Wizard, under Application type, select Static library
8. On the Application Settings page of the Win32 Application Wizard, under Additional options, clear the Precompiled header check box
9. Press Finish to create the project
10. To get the ".lib" file, just press the "Play" button and open the "Debug" folder


How to

[How to] Créer une bibliothèque statique



1. Dans le menu Fichier, sélectionnez Nouveau, puis Projeter
2. Dans le volet Types de projets, sous Visual C ++, sélectionnez Win32
3. Dans le volet Modèles, sélectionnez Application console Win32
4. Choisissez un nom pour le projet, tel que MathFuncsLib, et entrez-le dans le champ Nom
5. Choisissez un nom pour la solution, tel que StaticLibrary, et entrez-le dans le champ Nom de la solution
6. Appuyez sur OK pour lancer l’assistant d’application Win32. Sur la page Vue d'ensemble de la boîte de dialogue Assistant Application Win32, cliquez sur Suivant
7. Sur la page Paramètres d'application de l'Assistant Application Win32, sous Type d'application, sélectionnez Bibliothèque statique
8. Sur la page Paramètres d'application de l'Assistant Application Win32, sous Options supplémentaires, décochez la case En-tête précompilé
9. Appuyez sur Terminer pour créer le projet
10. Pour obtenir le fichier ".lib", appuyez simplement sur le bouton "Play" et ouvrez le dossier "Debug"